﻿<Page
    x:Class="MMGameLibrary2D.MessagePopup"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:MMGameLibrary2D"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid
        x:Name="RootPanel"
        Background="Transparent"
        Opacity=".85"
        HorizontalAlignment="Center"
        VerticalAlignment="Center">
        <Border
            x:Name="backgroundBorder"
            Margin="0,10"
            HorizontalAlignment="Center"
            VerticalAlignment="Center" Width="550" CornerRadius="20">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="1"/>
                    <GradientStop Color="#FF6E008F"/>
                </LinearGradientBrush>
            </Border.Background>
            <StackPanel Orientation="Vertical">
                <TextBlock x:Name="titleText" Height="Auto" Grid.Row="0" TextWrapping="Wrap" Text="TITLE" FontFamily="/Assets/Fonts/BuxtonSketch.ttf#Buxton Sketch" FontSize="42" HorizontalAlignment="Stretch" VerticalAlignment="Top" TextAlignment="Center">
                    <TextBlock.Foreground>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF5B80FB" Offset="0.176"/>
                            <GradientStop Color="Yellow" Offset="0.741"/>
                        </LinearGradientBrush>
                    </TextBlock.Foreground>
                </TextBlock>
                <TextBlock x:Name="messageText" Grid.Row="1" TextWrapping="Wrap" Text="Message" FontFamily="/Assets/Fonts/BuxtonSketch.ttf#Buxton Sketch" FontSize="35" HorizontalAlignment="Stretch" TextAlignment="Center" Foreground="Red"/>
                <Grid HorizontalAlignment="Stretch">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"></ColumnDefinition>
                        <ColumnDefinition Width="*"></ColumnDefinition>
                        <ColumnDefinition Width="*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button x:Name="leftButton" Grid.Column="0" Content="Left Button" HorizontalAlignment="Center" VerticalAlignment="Center"
                             Height="68" Width="Auto" MinWidth="120" FontFamily="/Assets/Fonts/BuxtonSketch.ttf#Buxton Sketch" FontSize="20"/>
                    <Button x:Name="centralButton" Grid.Column="1" Content="Center Button" HorizontalAlignment="Center" VerticalAlignment="Center" 
                            Height="68" Width="Auto" MinWidth="120" FontFamily="/Assets/Fonts/BuxtonSketch.ttf#Buxton Sketch" FontSize="20"/>
                    <Button x:Name="rightButton" Grid.Column="2" Content="Right Button" HorizontalAlignment="Center" VerticalAlignment="Center" 
                            Height="68" Width="Auto" MinWidth="120" FontFamily="/Assets/Fonts/BuxtonSketch.ttf#Buxton Sketch" FontSize="20"/>
                </Grid>
            </StackPanel>
        </Border>

    </Grid>
</Page>